import 'babel-polyfill'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import fastclick from 'fastclick'
import store from './store'
import animated from 'animate.css'
import global from './utils/global'
import VueLazyLoad from 'vue-lazyload'
import VueBus from './vue-bus'
import Toast from 'components/common/toast/index'

Vue.use(animated)
Vue.use(global)
Vue.use(VueLazyLoad,{
  loading: "",
})
Vue.use(VueBus)
Vue.use(Toast)
// 消除移动端点击延迟300毫秒
fastclick.attach(document.body)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
